<!DOCTYPE html>
<html>
<#include "../head.html">
    <body>
    <table class="mc">
        <tr>
            <td class="mc-l">
                <!--左侧导航---{-->
                <div id="navPanelContainer">
                    <div class="system-logo cd"></div>
                    <!--管理员信息---{-->
                    <#include "../adminInfo.html">
                        <!--管理员信息---}-->
                        <div class="nav-wrap">
                            <#include "left.html">
                        </div>
                </div>
                <!--左侧导航---}-->
            </td>
            <td class="mc-m">
                <div class="navToggle"></div>
            </td>
            <td class="mc-r">
                <!--顶部导航---{-->
                <#include "../topNav.html">
                    <!--顶部导航---}-->

                    <!--面包屑导航---{-->
                    <#assign moduleName="已满标待审">
                    <#include "banner.html">
                        <!--面包屑导航---}-->

                        <!--工具栏--{-->
                        <div id="toolbar" class="clearfix">

                            <#if param?exists>
                                <#if param.get("username")?exists><#assign username=param.get("username")></#if>
                                <#if param.get("status")?exists>
                                    <#assign status=(param.get("status"))?number >
                                        <#else>
                                            <#assign status=-1>
                                </#if>
                            </#if>
							<div class="toolbor-module search">    
                                <input type="button" value="搜索"  class="input-button" onclick="sousuo();">
                            </div>
                            <div class="toolbor-module search">
                                <input type="text" name="username" id="username" value="请输入用户名" data-value="请输入用户名" class="search-value">
                            </div>
                            

                        </div>
                        <!--工具栏--}-->

                        <div id="main" class="clearfix">
                            <form action="" method="post">
                                <table class="data-list">
                                    <tr class="header">
                                        <td>ID</td>
                                        <td>用户名称</td>
                                        <td>用户积分</td>
                                        <td>借款标题</td>
                                        <td>借款金额</td>
                                        <td>年利率</td>
                                        <td>投标次数</td>
                                        <td>借款期限</td>
                                        <td>状态</td>
                                        <td>发布时间</td>
                                        <td>初审时间</td>
                                        <td>操作</td>
                                    </tr>
                                    <#import "../../common/function.html" as func>
                                        <#list list as item>
                                            <tr class="s">
                                                <td>${(item.id!)?c}</td>
                                                <td>
                                                    <a href="javascript:void(0)" onclick='alertPop("用户详细信息查看","url:get?${request.getContextPath()}/admin/attestation/viewUserInfo.html?username=${item.username}",500,230,"true","","true","text")'>
                                                        ${item.username!}
                                                    </a>
                                                </td>
                                                <td>${item.credit_jifen!0}分</td>
                                                <td title="${item.name}" class="tal">
                                                    <span style="color:#FF0000">【<@func.borrowTypeName item=item /> 】</span>
                                                    <a href="${request.getContextPath()}/invest/detail.html?borrowid=${item.id?c}" target="_blank">${item.name!}</a>
                                                </td>
                                                <td>${item.account!}元</td>
                                                <td>${item.apr!}%</td>
                                                <td>${item.tender_times!0}</td>
                                                <td><#if item.isday==1>${item.time_limit_day!"-"}天<#else>${item.time_limit!"-"}个月</#if></td>
                                                <#assign status=item.status!(-1)>
                                               	<!-- v1.6.6.1 zza 2013-10-11 start -->
                                                <td><@func.statusTypeName status=item.status item=item /></td>
                                                <!-- v1.6.6.1 zza 2013-10-11 end -->
                                                <td>${dateformat(item.addtime!)}</td>
                                                <td>${dateformat(item.verify_time!)}</td>
                                                <td>
                                                    <a href="${request.getContextPath()}/admin/borrow/viewFullBorrow.html?id=${item.id?c}">满标复审</a>
                                                </td>
                                            </tr>
                                        </#list>

                                </table>
                            </form>

                            <!--底部工具栏--{-->
                            <div id="bottomToolbar" class="clearfix">
                                <div class="other-tool">
                                    <dl class="refresh-data">
                                        <dt class="refresh-data-icon"></dt>
                                        <dd><a href="javascript:void(0);" class="refresh-page">刷新数据</a></dd>
                                    </dl>
                                </div>

                                <!--翻页系统--{-->
                                <div class="container">
                                    <#import "../../common/page.html" as pager>
                                        <@pager.pagination page=page url="/admin/borrow/showReviewBorrow.html" map=param style="style1" />
                                </div>
                                <!--翻页系统--}-->
                            </div>
                            <!--底部工具栏--}-->

                            <script>

                                var urls = 'showReviewBorrow.html?search=true';
                                function sousuo(){
                                    var sou = "";
                                    var username = $("#username").val();
                                    if (username!=""&&username!="请输入用户名"){
                                        sou += "&username="+username;
                                    }
                                    location.href=urls+sou;
                                }
                            </script>
                        </div>

            </td>
        </tr>
        <tr>
            <!--尾部--{-->
            <td colspan="3" class="mc-b"><#include "../foot.html"></td>
            <!--尾部--}-->
        </tr>
    </table>

    </body>
</html>
<#include "../jsPage.html">
